(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 10.4' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     31396,       1156]
NotebookOptionsPosition[     27011,       1016]
NotebookOutlinePosition[     29118,       1073]
CellTagsIndexPosition[     29032,       1068]
WindowTitle->FCTraceExpand
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[GridBox[{
   {Cell["FEYN CALC SYMBOL", "PacletNameCell"], Cell[TextData[{
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "See Also",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"See Also", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"DiracTrace\"\>":>Documentation`HelpLookup[
       "paclet:FeynCalc/ref/DiracTrace"], "\<\"SUNTrace\"\>":>
       Documentation`HelpLookup["paclet:FeynCalc/ref/SUNTrace"]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"SeeAlso"]],
      LineSpacing->{1.4, 0}],
     "\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\
\[ThickSpace]",
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "URL",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"URL", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"FeynCalc/ref/FCTraceExpand\"\>":>
       None, "\<\"Copy Wolfram Documentation Center URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell["FeynCalc/ref/FCTraceExpand"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; Null], 
       Delimiter, "\<\"Copy web URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell[
              BoxData[
               MakeBoxes[
                Hyperlink[
                "http://reference.wolfram.com/language/FeynCalc/ref/\
FCTraceExpand.html"], StandardForm]], "Input", TextClipboardType -> 
              "PlainText"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; 
        Null], "\<\"Go to web URL\"\>":>FrontEndExecute[{
         NotebookLocate[{
           URL[
            StringJoin[
             If[
              TrueQ[DocumentationBuild`Make`Private`wsmlinkQ$129038], 
              "http://reference.wolfram.com/system-modeler/", 
              "http://reference.wolfram.com/language/"], 
             "FeynCalc/ref/FCTraceExpand", ".html"]], None}]}]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"URLMenu"]],
      LineSpacing->{1.4, 0}]
    }], "AnchorBar"]}
  }]], "AnchorBarGrid",
 GridBoxOptions->{GridBoxItemSize->{"Columns" -> {
     Scaled[0.65], {
      Scaled[0.34]}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, 
   "RowsIndexed" -> {}}},
 CellID->1],

Cell[TextData[{
 Cell["FCTraceExpand", "ObjectName"],
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{8, 0}],
    CacheGraphics->False],
   Spacer[8]]]],
 Cell[BoxData[""], "ObjectNameTranslation"]
}], "ObjectNameGrid"],

Cell[CellGroupData[{

Cell[BoxData[GridBox[{
   {"", Cell[TextData[{
     Cell[BoxData[
      RowBox[{"FCTraceExpand", "[", "exp", "]"}]], "InlineFormula"],
     " expands traces of Dirac and ",
     Cell[BoxData[
      RowBox[{"SU", 
       RowBox[{"(", "N", ")"}]}]], "InlineFormula"],
     " matrices using linearity of the trace. The traces themselves are not \
evaluated."
    }]]}
  }]], "Usage",
 GridBoxOptions->{
 GridBoxBackground->{
  "Columns" -> {{None}}, "ColumnsIndexed" -> {}, "Rows" -> {{None}}, 
   "RowsIndexed" -> {}}},
 CellID->982511436],

Cell[CellGroupData[{

Cell[TextData[Cell[BoxData[
 ButtonBox[Cell[TextData[{
   Cell[BoxData[
    InterpretationBox[
     StyleBox[
      GraphicsBox[{},
       BaselinePosition->Baseline,
       ImageSize->{6, 0}],
      CacheGraphics->False],
     Spacer[6]]]],
   "Details"
  }], "NotesFrameText"],
  Appearance->{Automatic, None},
  BaseStyle->None,
  ButtonFunction:>(FrontEndExecute[{
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], All, ButtonCell], 
     FrontEndToken["OpenCloseGroup"], 
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], After, CellContents]}]& ),
  Evaluator->None,
  Method->"Preemptive"]]]], "NotesSection",
 WholeCellGroupOpener->True,
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->79362270],

Cell["", "SectionHeaderSpacer"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Options", "[", "FCTraceExpand", "]"}]], "Input",
 CellLabel->"In[115]:="],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"DiracGammaExpand", "\[Rule]", "True"}], ",", 
    RowBox[{"DiracTrace", "\[Rule]", "True"}], ",", 
    RowBox[{"DotSimplify", "\[Rule]", "True"}], ",", 
    RowBox[{"FeynCalcInternal", "\[Rule]", "False"}], ",", 
    RowBox[{"FeynCalcExternal", "\[Rule]", "False"}], ",", 
    RowBox[{"FCTraceFactor", "\[Rule]", "True"}], ",", 
    RowBox[{"FCVerbose", "\[Rule]", "False"}], ",", 
    RowBox[{"Momentum", "\[Rule]", "All"}], ",", 
    RowBox[{"PreservePropagatorStructures", "\[Rule]", "False"}], ",", 
    RowBox[{"SUNTrace", "\[Rule]", "True"}]}], "}"}], 
  TraditionalForm]], "Output",
 ImageSize->{573, 54},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[115]="]
}, Open  ]]
}, Closed]]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(3)", "ExampleCount"]
}], "PrimaryExamplesSection",
 WholeCellGroupOpener->True,
 CellTags->"PrimaryExamplesSection",
 CellID->231396513],

Cell[CellGroupData[{

Cell[TextData[{
 "Basic Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(3)", "ExampleCount"]
}], "ExampleSection", "ExampleSection",
 WholeCellGroupOpener->True,
 CellID->22608035],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"DiracTrace", "[", 
  RowBox[{
   RowBox[{
    RowBox[{"GA", "[", "\[Mu]", "]"}], ".", 
    RowBox[{"(", 
     RowBox[{
      RowBox[{"GS", "[", "p1", "]"}], "+", "m1"}], ")"}], ".", 
    RowBox[{"GA", "[", "\[Nu]", "]"}], ".", 
    RowBox[{"(", 
     RowBox[{
      RowBox[{"GS", "[", "p2", "]"}], "+", "m2"}], ")"}], ".", 
    RowBox[{"GA", "[", "\[Rho]", "]"}]}], "+", "x"}], "]"}]], "Input",
 CellLabel->"In[1]:=",
 CellID->55860621],

Cell[BoxData[
 FormBox[
  RowBox[{"tr", "(", 
   FormBox[
    RowBox[{
     RowBox[{
      FormBox[
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm]],
       TraditionalForm], ".", 
      RowBox[{"(", 
       RowBox[{
        FormBox[
         RowBox[{
          OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
          FormBox[
           OverscriptBox[
            FormBox["p1",
             TraditionalForm], "_"],
           TraditionalForm]}],
         TraditionalForm], "+", "m1"}], ")"}], ".", 
      FormBox[
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]],
       TraditionalForm], ".", 
      RowBox[{"(", 
       RowBox[{
        FormBox[
         RowBox[{
          OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
          FormBox[
           OverscriptBox[
            FormBox["p2",
             TraditionalForm], "_"],
           TraditionalForm]}],
         TraditionalForm], "+", "m2"}], ")"}], ".", 
      FormBox[
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Rho]",
          TraditionalForm],
         TraditionalForm]],
       TraditionalForm]}], "+", "x"}],
    TraditionalForm], ")"}], TraditionalForm]], "Output",
 ImageSize->{299, 21},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[1]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FCTraceExpand", "[", "%", "]"}]], "Input",
 CellLabel->"In[2]:=",
 CellID->502042032],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"m1", " ", "m2", " ", 
    RowBox[{"tr", "(", 
     FormBox[
      RowBox[{
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Rho]",
          TraditionalForm],
         TraditionalForm]]}],
      TraditionalForm], ")"}]}], "+", 
   RowBox[{"m1", " ", 
    RowBox[{"tr", "(", 
     FormBox[
      RowBox[{
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       RowBox[{"(", 
        RowBox[{
         OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
         FormBox[
          OverscriptBox[
           FormBox["p2",
            TraditionalForm], "_"],
          TraditionalForm]}], ")"}], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Rho]",
          TraditionalForm],
         TraditionalForm]]}],
      TraditionalForm], ")"}]}], "+", 
   RowBox[{"m2", " ", 
    RowBox[{"tr", "(", 
     FormBox[
      RowBox[{
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       RowBox[{"(", 
        RowBox[{
         OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
         FormBox[
          OverscriptBox[
           FormBox["p1",
            TraditionalForm], "_"],
          TraditionalForm]}], ")"}], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Rho]",
          TraditionalForm],
         TraditionalForm]]}],
      TraditionalForm], ")"}]}], "+", 
   RowBox[{"tr", "(", 
    FormBox[
     RowBox[{
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Mu]",
         TraditionalForm],
        TraditionalForm]], ".", 
      RowBox[{"(", 
       RowBox[{
        OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
        FormBox[
         OverscriptBox[
          FormBox["p1",
           TraditionalForm], "_"],
         TraditionalForm]}], ")"}], ".", 
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Nu]",
         TraditionalForm],
        TraditionalForm]], ".", 
      RowBox[{"(", 
       RowBox[{
        OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
        FormBox[
         OverscriptBox[
          FormBox["p2",
           TraditionalForm], "_"],
         TraditionalForm]}], ")"}], ".", 
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Rho]",
         TraditionalForm],
        TraditionalForm]]}],
     TraditionalForm], ")"}], "+", 
   RowBox[{
    RowBox[{"tr", "(", 
     FormBox["1",
      TraditionalForm], ")"}], " ", "x"}]}], TraditionalForm]], "Output",
 ImageSize->{457, 43},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[2]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FCTraceExpand", "[", 
  RowBox[{"%%", ",", 
   RowBox[{"DotSimplify", "\[Rule]", "False"}]}], "]"}]], "Input",
 CellLabel->"In[3]:=",
 CellID->611074974],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"tr", "(", 
    FormBox[
     RowBox[{
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Mu]",
         TraditionalForm],
        TraditionalForm]], ".", 
      RowBox[{"(", 
       RowBox[{
        RowBox[{
         OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
         FormBox[
          OverscriptBox[
           FormBox["p1",
            TraditionalForm], "_"],
          TraditionalForm]}], "+", "m1"}], ")"}], ".", 
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Nu]",
         TraditionalForm],
        TraditionalForm]], ".", 
      RowBox[{"(", 
       RowBox[{
        RowBox[{
         OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
         FormBox[
          OverscriptBox[
           FormBox["p2",
            TraditionalForm], "_"],
          TraditionalForm]}], "+", "m2"}], ")"}], ".", 
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Rho]",
         TraditionalForm],
        TraditionalForm]]}],
     TraditionalForm], ")"}], "+", 
   RowBox[{
    RowBox[{"tr", "(", 
     FormBox["1",
      TraditionalForm], ")"}], " ", "x"}]}], TraditionalForm]], "Output",
 ImageSize->{332, 21},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[3]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FCTraceExpand", "[", 
  RowBox[{"%%%", ",", 
   RowBox[{"DiracTrace", "\[Rule]", "False"}]}], "]"}]], "Input",
 CellLabel->"In[4]:=",
 CellID->1030948092],

Cell[BoxData[
 FormBox[
  RowBox[{"tr", "(", 
   FormBox[
    RowBox[{
     RowBox[{
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Mu]",
         TraditionalForm],
        TraditionalForm]], ".", 
      RowBox[{"(", 
       RowBox[{
        RowBox[{
         OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
         FormBox[
          OverscriptBox[
           FormBox["p1",
            TraditionalForm], "_"],
          TraditionalForm]}], "+", "m1"}], ")"}], ".", 
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Nu]",
         TraditionalForm],
        TraditionalForm]], ".", 
      RowBox[{"(", 
       RowBox[{
        RowBox[{
         OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
         FormBox[
          OverscriptBox[
           FormBox["p2",
            TraditionalForm], "_"],
          TraditionalForm]}], "+", "m2"}], ")"}], ".", 
      SuperscriptBox[
       OverscriptBox["\[Gamma]", "_"], 
       FormBox[
        FormBox["\[Rho]",
         TraditionalForm],
        TraditionalForm]]}], "+", "x"}],
    TraditionalForm], ")"}], TraditionalForm]], "Output",
 ImageSize->{299, 21},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[4]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 InterpretationBox[Cell["\t", "ExampleDelimiter"],
  $Line = 0; Null]], "ExampleDelimiter"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{"a", "*", 
   RowBox[{"DiracTrace", "[", 
    RowBox[{
     RowBox[{"GA", "[", "\[Mu]", "]"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"GS", "[", "p1", "]"}], "+", "m1"}], ")"}], ".", 
     RowBox[{"GA", "[", "\[Nu]", "]"}]}], "]"}]}], "+", 
  RowBox[{"b", "*", 
   RowBox[{"DiracTrace", "[", 
    RowBox[{
     RowBox[{"GA", "[", "\[Mu]", "]"}], ".", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"GS", "[", "p2", "]"}], "+", "m2"}], ")"}], ".", 
     RowBox[{"GA", "[", "\[Nu]", "]"}]}], "]"}]}]}]], "Input",
 CellLabel->"In[1]:=",
 CellID->312665650],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"a", " ", 
    RowBox[{"tr", "(", 
     FormBox[
      RowBox[{
       FormBox[
        SuperscriptBox[
         OverscriptBox["\[Gamma]", "_"], 
         FormBox[
          FormBox["\[Mu]",
           TraditionalForm],
          TraditionalForm]],
        TraditionalForm], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox[
          RowBox[{
           OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
           FormBox[
            OverscriptBox[
             FormBox["p1",
              TraditionalForm], "_"],
            TraditionalForm]}],
          TraditionalForm], "+", "m1"}], ")"}], ".", 
       FormBox[
        SuperscriptBox[
         OverscriptBox["\[Gamma]", "_"], 
         FormBox[
          FormBox["\[Nu]",
           TraditionalForm],
          TraditionalForm]],
        TraditionalForm]}],
      TraditionalForm], ")"}]}], "+", 
   RowBox[{"b", " ", 
    RowBox[{"tr", "(", 
     FormBox[
      RowBox[{
       FormBox[
        SuperscriptBox[
         OverscriptBox["\[Gamma]", "_"], 
         FormBox[
          FormBox["\[Mu]",
           TraditionalForm],
          TraditionalForm]],
        TraditionalForm], ".", 
       RowBox[{"(", 
        RowBox[{
         FormBox[
          RowBox[{
           OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
           FormBox[
            OverscriptBox[
             FormBox["p2",
              TraditionalForm], "_"],
            TraditionalForm]}],
          TraditionalForm], "+", "m2"}], ")"}], ".", 
       FormBox[
        SuperscriptBox[
         OverscriptBox["\[Gamma]", "_"], 
         FormBox[
          FormBox["\[Nu]",
           TraditionalForm],
          TraditionalForm]],
        TraditionalForm]}],
      TraditionalForm], ")"}]}]}], TraditionalForm]], "Output",
 ImageSize->{359, 21},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[1]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FCTraceExpand", "[", 
  RowBox[{"%", ",", 
   RowBox[{"Momentum", "\[Rule]", 
    RowBox[{"{", "p1", "}"}]}]}], "]"}]], "Input",
 CellLabel->"In[2]:=",
 CellID->851121632],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"a", " ", 
    RowBox[{"(", 
     RowBox[{
      RowBox[{"m1", " ", 
       RowBox[{"tr", "(", 
        FormBox[
         RowBox[{
          SuperscriptBox[
           OverscriptBox["\[Gamma]", "_"], 
           FormBox[
            FormBox["\[Mu]",
             TraditionalForm],
            TraditionalForm]], ".", 
          SuperscriptBox[
           OverscriptBox["\[Gamma]", "_"], 
           FormBox[
            FormBox["\[Nu]",
             TraditionalForm],
            TraditionalForm]]}],
         TraditionalForm], ")"}]}], "+", 
      RowBox[{"tr", "(", 
       FormBox[
        RowBox[{
         SuperscriptBox[
          OverscriptBox["\[Gamma]", "_"], 
          FormBox[
           FormBox["\[Mu]",
            TraditionalForm],
           TraditionalForm]], ".", 
         RowBox[{"(", 
          RowBox[{
           OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
           FormBox[
            OverscriptBox[
             FormBox["p1",
              TraditionalForm], "_"],
            TraditionalForm]}], ")"}], ".", 
         SuperscriptBox[
          OverscriptBox["\[Gamma]", "_"], 
          FormBox[
           FormBox["\[Nu]",
            TraditionalForm],
           TraditionalForm]]}],
        TraditionalForm], ")"}]}], ")"}]}], "+", 
   RowBox[{"b", " ", 
    RowBox[{"tr", "(", 
     FormBox[
      RowBox[{
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Mu]",
          TraditionalForm],
         TraditionalForm]], ".", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{
          OverscriptBox["\[Gamma]", "_"], "\[CenterDot]", 
          FormBox[
           OverscriptBox[
            FormBox["p2",
             TraditionalForm], "_"],
           TraditionalForm]}], "+", "m2"}], ")"}], ".", 
       SuperscriptBox[
        OverscriptBox["\[Gamma]", "_"], 
        FormBox[
         FormBox["\[Nu]",
          TraditionalForm],
         TraditionalForm]]}],
      TraditionalForm], ")"}]}]}], TraditionalForm]], "Output",
 ImageSize->{442, 21},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[2]="]
}, Open  ]]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 InterpretationBox[Cell["\t", "ExampleDelimiter"],
  $Line = 0; Null]], "ExampleDelimiter"],

Cell[TextData[{
 "At the moment ",
 ButtonBox["SUNTrace",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/SUNTrace",
  ButtonNote->"SUNTrace"],
 " automatically expands its content, so here ",
 ButtonBox["FCTraceExpand",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/FCTraceExpand",
  ButtonNote->"FCTraceExpand"],
 " is not needed. However, this may change in the future."
}], "Notes",
 CellID->1671076290],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"SUNTrace", "[", 
  RowBox[{
   RowBox[{"SUNT", "[", 
    RowBox[{"i", ",", "j", ",", "k"}], "]"}], "+", 
   RowBox[{"SUNT", "[", 
    RowBox[{"l", ",", "m", ",", "n"}], "]"}]}], "]"}]], "Input",
 CellLabel->"In[1]:=",
 CellID->1858007214],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{
    FormBox["\<\"tr\"\>",
     TraditionalForm], 
    FormBox["\<\"(\"\>",
     TraditionalForm], 
    FormBox[
     RowBox[{
      SuperscriptBox["T", 
       FormBox[
        FormBox["i",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["j",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["k",
         TraditionalForm],
        TraditionalForm]]}],
     TraditionalForm], 
    FormBox["\<\")\"\>",
     TraditionalForm]}], "+", 
   RowBox[{
    FormBox["\<\"tr\"\>",
     TraditionalForm], 
    FormBox["\<\"(\"\>",
     TraditionalForm], 
    FormBox[
     RowBox[{
      SuperscriptBox["T", 
       FormBox[
        FormBox["l",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["m",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["n",
         TraditionalForm],
        TraditionalForm]]}],
     TraditionalForm], 
    FormBox["\<\")\"\>",
     TraditionalForm]}]}], TraditionalForm]], "Output",
 ImageSize->{246, 19},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[1]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FCTraceExpand", "[", "%", "]"}]], "Input",
 CellLabel->"In[2]:=",
 CellID->1593699893],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{
    FormBox["\<\"tr\"\>",
     TraditionalForm], 
    FormBox["\<\"(\"\>",
     TraditionalForm], 
    FormBox[
     RowBox[{
      SuperscriptBox["T", 
       FormBox[
        FormBox["i",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["j",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["k",
         TraditionalForm],
        TraditionalForm]]}],
     TraditionalForm], 
    FormBox["\<\")\"\>",
     TraditionalForm]}], "+", 
   RowBox[{
    FormBox["\<\"tr\"\>",
     TraditionalForm], 
    FormBox["\<\"(\"\>",
     TraditionalForm], 
    FormBox[
     RowBox[{
      SuperscriptBox["T", 
       FormBox[
        FormBox["l",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["m",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["n",
         TraditionalForm],
        TraditionalForm]]}],
     TraditionalForm], 
    FormBox["\<\")\"\>",
     TraditionalForm]}]}], TraditionalForm]], "Output",
 ImageSize->{246, 19},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[2]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FCTraceExpand", "[", 
  RowBox[{"%%", ",", 
   RowBox[{"SUNTrace", "\[Rule]", "False"}]}], "]"}]], "Input",
 CellLabel->"In[3]:=",
 CellID->805159379],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{
    FormBox["\<\"tr\"\>",
     TraditionalForm], 
    FormBox["\<\"(\"\>",
     TraditionalForm], 
    FormBox[
     RowBox[{
      SuperscriptBox["T", 
       FormBox[
        FormBox["i",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["j",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["k",
         TraditionalForm],
        TraditionalForm]]}],
     TraditionalForm], 
    FormBox["\<\")\"\>",
     TraditionalForm]}], "+", 
   RowBox[{
    FormBox["\<\"tr\"\>",
     TraditionalForm], 
    FormBox["\<\"(\"\>",
     TraditionalForm], 
    FormBox[
     RowBox[{
      SuperscriptBox["T", 
       FormBox[
        FormBox["l",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["m",
         TraditionalForm],
        TraditionalForm]], ".", 
      SuperscriptBox["T", 
       FormBox[
        FormBox["n",
         TraditionalForm],
        TraditionalForm]]}],
     TraditionalForm], 
    FormBox["\<\")\"\>",
     TraditionalForm]}]}], TraditionalForm]], "Output",
 ImageSize->{246, 19},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[3]="]
}, Open  ]]
}, Open  ]]
}, Open  ]],

Cell["", "SectionFooterSpacer"]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "See Also"
}], "SeeAlsoSection",
 WholeCellGroupOpener->True,
 CellID->1255426704],

Cell[TextData[{
 StyleBox[ButtonBox["DiracTrace",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/DiracTrace",
  ButtonNote->"DiracTrace"],
  FontFamily->"Verdana"],
 ", ",
 StyleBox[ButtonBox["SUNTrace",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/SUNTrace",
  ButtonNote->"SUNTrace"],
  FontFamily->"Verdana"],
 "."
}], "SeeAlso"]
}, Open  ]],

Cell[" ", "FooterCell"]
},
Saveable->False,
ScreenStyleEnvironment->"Working",
WindowSize->{725, 750},
WindowMargins->{{-10, Automatic}, {Automatic, -8}},
WindowTitle->"FCTraceExpand",
TaggingRules->{
 "ModificationHighlight" -> False, "ColorType" -> "SymbolColor", "LinkTrails" -> 
  GridBox[{{
      RowBox[{
        ButtonBox[
        "FeynCalc", ButtonData -> "paclet:FeynCalc/guide/FeynCalc", 
         BaseStyle -> {"Link", "DockedLinkTrail"}]}]}}, ColumnAlignments -> 
    Left], "HasOptions" -> False, "ExampleCounter" -> 1, "NeedPlatMsgIn" -> 
  None, "RootCaptions" -> "", 
  "Metadata" -> {
   "built" -> "{2020, 6, 20, 19, 6, 29.253945}", 
    "history" -> {"9.0", "", "", ""}, "context" -> "FeynCalc`", 
    "keywords" -> {}, "specialkeywords" -> {}, 
    "tutorialcollectionlinks" -> {}, "index" -> True, "label" -> 
    "Feyn Calc Symbol", "language" -> "en", "paclet" -> "FeynCalc", "status" -> 
    "None", "summary" -> 
    "FCTraceExpand[exp] expands traces of Dirac and SU (N) matrices using \
linearity of the trace. The traces themselves are not evaluated.", 
    "synonyms" -> {}, "tabletags" -> {}, "title" -> "FCTraceExpand", 
    "titlemodifier" -> "", "windowtitle" -> "FCTraceExpand", "type" -> 
    "Symbol", "uri" -> "FeynCalc/ref/FCTraceExpand"}, "SearchTextTranslated" -> 
  ""},
CellContext->"Global`",
FrontEndVersion->"10.4 for Linux x86 (64-bit) (April 11, 2016)",
StyleDefinitions->Notebook[{
   Cell[
    StyleData[
    StyleDefinitions -> FrontEnd`FileName[{"Wolfram"}, "Reference.nb"]]], 
   Cell[
    StyleData["Input"], CellContext -> "Global`"], 
   Cell[
    StyleData["Output"], CellContext -> "Global`"]}, Visible -> False, 
  FrontEndVersion -> "10.4 for Linux x86 (64-bit) (April 11, 2016)", 
  StyleDefinitions -> "Default.nb"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "PrimaryExamplesSection"->{
  Cell[6302, 192, 387, 15, 31, "PrimaryExamplesSection",
   CellTags->"PrimaryExamplesSection",
   CellID->231396513]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"PrimaryExamplesSection", 28889, 1061}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[585, 21, 3113, 75, 53, "AnchorBarGrid",
 CellID->1],
Cell[3701, 98, 290, 11, 45, "ObjectNameGrid"],
Cell[CellGroupData[{
Cell[4016, 113, 537, 16, 84, "Usage",
 CellID->982511436],
Cell[CellGroupData[{
Cell[4578, 133, 737, 24, 31, "NotesSection",
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->79362270],
Cell[5318, 159, 31, 0, 70, "SectionHeaderSpacer"],
Cell[CellGroupData[{
Cell[5374, 163, 97, 2, 70, "Input"],
Cell[5474, 167, 767, 18, 75, "Output"]
}, Open  ]]
}, Closed]]
}, Open  ]],
Cell[CellGroupData[{
Cell[6302, 192, 387, 15, 31, "PrimaryExamplesSection",
 CellTags->"PrimaryExamplesSection",
 CellID->231396513],
Cell[CellGroupData[{
Cell[6714, 211, 194, 6, 26, "ExampleSection",
 CellID->22608035],
Cell[CellGroupData[{
Cell[6933, 221, 460, 14, 27, "Input",
 CellID->55860621],
Cell[7396, 237, 1533, 56, 42, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[8966, 298, 109, 3, 27, "Input",
 CellID->502042032],
Cell[9078, 303, 3669, 133, 64, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[12784, 441, 177, 5, 27, "Input",
 CellID->611074974],
Cell[12964, 448, 1387, 50, 42, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[14388, 503, 178, 5, 27, "Input",
 CellID->1030948092],
Cell[14569, 510, 1293, 46, 42, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[15899, 561, 105, 2, 9, "ExampleDelimiter"],
Cell[CellGroupData[{
Cell[16029, 567, 606, 19, 45, "Input",
 CellID->312665650],
Cell[16638, 588, 1924, 70, 42, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[18599, 663, 195, 6, 27, "Input",
 CellID->851121632],
Cell[18797, 671, 2178, 76, 42, "Output"]
}, Open  ]]
}, Open  ]],
Cell[CellGroupData[{
Cell[21024, 753, 105, 2, 9, "ExampleDelimiter"],
Cell[21132, 757, 425, 13, 49, "Notes",
 CellID->1671076290],
Cell[CellGroupData[{
Cell[21582, 774, 262, 8, 27, "Input",
 CellID->1858007214],
Cell[21847, 784, 1342, 56, 40, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[23226, 845, 110, 3, 27, "Input",
 CellID->1593699893],
Cell[23339, 850, 1342, 56, 40, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[24718, 911, 174, 5, 27, "Input",
 CellID->805159379],
Cell[24895, 918, 1342, 56, 40, "Output"]
}, Open  ]]
}, Open  ]]
}, Open  ]],
Cell[26276, 979, 31, 0, 29, "SectionFooterSpacer"]
}, Open  ]],
Cell[CellGroupData[{
Cell[26344, 984, 270, 12, 31, "SeeAlsoSection",
 CellID->1255426704],
Cell[26617, 998, 352, 13, 56, "SeeAlso"]
}, Open  ]],
Cell[26984, 1014, 23, 0, 41, "FooterCell"]
}
]
*)

(* End of internal cache information *)

